package com.suse.lhw.hms.foodserver.pojo.output_POJO;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @ProjectName: health_manage_system
 * @Package: com.suse.lhw.resourceservere.POJO.output_POJO
 * @ClassName: FIAndName
 * @Description: java类作用描述
 * @Author: 李鸿炜
 * @CreateDate: 2020/6/6 20:42
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/6/6 20:42
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
public class FIAndName {
    private Integer id;

    /**
     * 食物模型id
     */
    private Integer fmId;

    /**
     * 数量
     */
    private Integer quanity;

    /**
     * 三餐类型，比如早餐，晚餐
     */
    private Integer type;

    private String userId;

    private Integer unitid;

    private String createtime;

    /**
     * 消耗的卡路里
     */
    private Integer calories;

    private String name;

    private String imgurl;

    public String getImgurl() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl;
    }

    public FIAndName(Integer id, Integer fmId, Integer quanity, Integer type, String userId, Integer unitid, String createtime, Integer calories, String name, String imgurl) {
        this.id = id;
        this.fmId = fmId;
        this.quanity = quanity;
        this.type = type;
        this.userId = userId;
        this.unitid = unitid;
        this.createtime = createtime;
        this.calories = calories;
        this.name = name;
        this.imgurl = imgurl;
    }
}
